home *** CD-ROM | disk | FTP | other *** search
/ The Mac 1996 October / The Mac (October 1996).dmg / Web Authoring / WWWStat4Mac 1.2.1 / WWWStat4Mac Prefs < prev    next >
Encoding:
Text File  |  1996-05-19  |  14.2 KB  |  312 lines  |  [TEXT/R*ch]

  1. # --------------------------------------
  2. # WWWStat4Mac  © P.J.Hardman 1995-1996. email redpoint@kagi.com.
  3. #          Preferences file.
  4. # WWWStat4Mac is Shareware ($10). Don't forget to REGISTER your copy.
  5. # This file should be in the preferences folder in the system folder.
  6. # --------------------------------------
  7. # Any line that starts with a # is ignored. The program doesn't expect
  8. # to find the information below in the any order but it does help to keep things tidy. 
  9. # Each option has two parts. The option identifier and the argument. Please make sure 
  10. # that you have both of these parts as I can't guarantee what might happen if one is missing.
  11. #
  12. # Here we go!
  13. #
  14. # If you've been good and sent in you registration fee, then you will have got a message from 
  15. # kagi telling you how to register the program. To make it a bit easier I've even added the
  16. # option for you to fill in below. Just type in the code.
  17. #
  18. registration_code TYPE_CODE_HERE!
  19. #
  20. # First lets start with the basic file generation options.
  21. # What do you want the file to be called? This is just the default name that appears in
  22. # the programs Save Dialog or the filename if you have auto_save turned on.
  23. # Note that the file will be saved in the same directory/folder as the log file.
  24. #
  25. file_name statistics.html
  26. #
  27. # Do you want to automatically save the output file. This option means that a file with
  28. # the name file_name is created. If a file with this name already exists it is overwritten.
  29. # [on/off]. When a file is created automatically, it is saved in the SAME FOLDER as the log
  30. # file that you created it from.
  31. #
  32. auto_save off
  33. #
  34. # Which application would you like to have created the file? 
  35. # For example BBEdit is R*ch. SimpleText is ttxt.
  36. #
  37. file_creator R*ch
  38. #
  39. # Do you want the errors to be excluded?.For example if a file doesn't exist and the request 
  40. # fails then we don't add it to the list of files requested. 
  41. # However the site that tried to access the file will be included. [on/off]
  42. #
  43. exclude_errors on
  44. #
  45. # How many sites and files do you want to keep track of?
  46. # ••NOTE••. These two options are currently unimplemented.
  47. # A future version will use these to dynamically allocate the required memory.
  48. max_sites 2000
  49. max_files 500
  50. #
  51. # The output file will always contain, as a bare minimum, a summary of the server traffic.
  52. # Including the no.hits, no. sites, no. files and total bytes transfered. 
  53. # However the next 4 options can be added as needed. [on/off]
  54. # 1. Site Statistics. (Show the top N sites or all if N=0).
  55. # -------------------
  56. #
  57. site_stats on
  58. #
  59. # 2. File Statistics. (Show the top N files or all if N=0).
  60. # -------------------
  61. #
  62. file_stats on
  63. #
  64. # 3. Robot Statistics. This attempts to list all the net robots,spiders and search
  65. # engines that have accessed your server and requested the file robots.txt
  66. #
  67. robot_stats off
  68. #
  69. # 4. Domain Statistics. This makes a list of hits and bytes transfered to each of the domains.
  70. # The domain list came from the following URL:
  71. # http://www.ics.uci.edu/WebSoft/wwwstat/country-codes.txt.
  72. # If you need to make additions to the file these can be added in the STR# resource ID 129.
  73. #
  74. domain_stats off
  75. #
  76. #
  77. # Traffic Statistics.
  78. # Do you want to see when your server is busiest? Which month had the most accesses? Which
  79. # day of the week sees the most hits? Then this is where you set these options.
  80. # If you want to collect statistics for the amount of traffic that you server is getting then
  81. # you can request data covering several time spans. You can look at the data by Hour of Day,
  82. # Day of Week,Day of Year, Week of Year, and by Month of Year. You can choose to have some or
  83. # all of these options on at the same time.
  84. #
  85. # traffic_stats hourly
  86. # traffic_stats daily
  87. # traffic_stats weekly
  88. # traffic_stats monthly
  89. # traffic_stats dayofyear  ••NOTE•• This option is unimplemented at this time
  90. #  
  91. # NEW IN VERSION 1.2
  92. # How do you want to display your traffic? Do you want to see the number of bytes transfered or
  93. # the number of accesses? You have three options bytes,hits or both.
  94. # traffic_display both
  95. #
  96. # How many sites files and domains do you actually want to show?
  97. # ••NOTE••. If you want show all of the sites/files/domains then make these values 0.
  98. # ••NOTE••. If you have the output as tables (see later) then it is best to limit 
  99. # these values to less than 50. Otherwise browsers will require large amounts of memory to
  100. # display these tables.
  101. #
  102. top_sites 0
  103. top_files 0
  104. # NEW IN VERSION 1.2
  105. top_domains 0
  106. #
  107. # How do you want to sort the SITE data that is collected. You have five options 
  108. # [name/hits/bytes/date/visits].See later for info on how to specify a 'visit'.
  109. # Sort by name sorts alphabetically. By hits, bytes and visits sort in descending order.
  110. # By date sorts in reverse chronological order. So most recent sites come first.
  111. #
  112. sort_sites name
  113. #
  114. # How do you want to sort the file data that is collected. You have five options 
  115. # [name/hits/bytes/date/size].
  116. # Sort by name sorts alphabetically. By hits, bytes and size sort in descending order.
  117. # By date sorts in reverse chronological order. So most recent files come first.
  118. #
  119. sort_files bytes
  120. #
  121. # How do you want to sort the domain data that is collected. You have four options 
  122. # [name/hits/bytes/date].
  123. # Sort by name sorts alphabetically. By hits and bytes sort in descending order.
  124. # By date sorts in reverse chronological order. So most recent domains come first.
  125. #
  126. sort_domains hits
  127. #
  128. #    Now that you have defined what you want in the output file in the way of sites/files/domains
  129. # it is now time to FINE TUNE the analysis of the information.
  130. #
  131. # Inclusions. This option allows you to define in the next section up to 
  132. # 50 sites and 50 files that you would like to explicitly include in the output. You might
  133. # want to do this because you only want to look at a portion of your statistics file.
  134. # You can later exclude any files that are included here, but that you don't want to show
  135. # in the final result. For example gifs.
  136. # ••NOTE••.ANY SITE OR FILE THAT IS NOT INCLUDED WILL BE EXCLUDED. 
  137. #
  138. # First list each SITE that you want to INCLUDE on a separate line.
  139. # Make sure that there is only one space between inclusion and the sitename.
  140. # Don't forget to include the IP address in case the DNR resolver isn't active.
  141. # Wildcards are also supported at either the beginning or end of a string but not 
  142. # in the middle.
  143. #
  144. # site_inclusion your.host.machine.here
  145. # site_inclusion 1.2.3.4
  146. # site_inclusioê  include all US commercial sites
  147. #
  148. # Now list each FILE that you want to include on a separate line.
  149. # NOTE. Don't forget that you need to supply the full path name for the file as it would 
  150. # appear in the access log. These files are not case sensitive, as we convert all file
  151. # names to lowercase before comparing them.
  152. # Wildcards are also supported at either the beginning OR end of a string but not 
  153. # in the middle.
  154. #
  155. # file_inclusion *.gif  This would include all of the gif images.
  156. #
  157. # 6. Exclusions. This option allows you to define in the next section up to 
  158. # 50 sites and 50 files that you would like EXCLUDING from the output. You might
  159. # want to do this to stop some private files from being display in the statistics file.
  160. # Or to stop accesses from your own machine being added during heavy testing sessions. 
  161. # If a file is excluded then it's data is not addedêgrand total and it is not included
  162. # in the total number of accesses.
  163. #
  164. # NOTE: If you want to exclude not only the site but also the files that it is accessing then
  165. # set the site_and_file option to on. Otherwise the site will be excluded but the file that was 
  166. # accessed will still be counted.
  167. #
  168. site_and_file off
  169. #
  170. # NEW IN VERSION 1.2
  171. # NOTE: If you want to exclude a file and also the site that was accessing it then
  172. # set the file_and_site option to on. Otherwise the file will be excluded but the site that was 
  173. # accessed will still be counted.(unless excluded elsewhere)
  174. #
  175. file_and_site off
  176. #
  177. # Now list each SITE that you want to EXCLUDE on a separate line.
  178. # ••NOTE•• Make sure that there is only one space between exclusion and the sitename.
  179. # Don't forget to include the IP address in case the DNR resolver isn't active.
  180. # Wildcards are also supported at either the beginning or end of a string but not 
  181. # in the middle.
  182. #
  183. # site_exclusion your.host.machine.here
  184. # site_exclusion 1.2.3.4
  185. # site_exclusion *.com   this would exclude all US commercial sites
  186. #
  187. # Now list each FILE that you want to exclude on a separate line.
  188. # NOTE. Don't forget that you need to supply the full path name for the file as it would 
  189. # appear in the access log. These files are not case sensitive, as we convert all file
  190. # names to lowercase before comparing them.
  191. # Wildcards are also supported at either the beginning or end of a string but not 
  192. # in the middle.
  193. #
  194. # file_exclusion *.gif This would exclude all of the gif images.
  195. file_exclusion /statistics.html
  196. file_exclusion /robots.txt
  197. #
  198. # ••••• NOTE •••••
  199. # All exclusions/inclusions are decided in the following order.
  200. # 1. First check sites for inclusions. If included then carry on otherwise goto 4.
  201. # 2. If included then check for exclusions. If not excluded then goto 4.
  202. # 3. If site_and_file on then also exclude file.
  203. # 4. Check for file inclusions. If included and not excluded in 3 then process.
  204. # 5. If included check for exclusions. If not excluded then process.
  205. # 6. If file_and site on then also exclude site.
  206. # Process the site and file using current exclusions. 
  207. #
  208. #    Misc Options.
  209. # •••••••••••••
  210. # Default File Mapping.
  211. # When a request is made to the server and there is no file defined then this goes into the log
  212. # as a request for /. But this is the same as requesting the default file so we can make hits 
  213. # on / look like hits on the default file. The default file is specified as the argument to
  214. # this option. This replaces the old option map_default_to_home since not all servers have
  215. # home.html as the default file. If the old option is used this automatically calls the 
  216. # map_default_to_file option with the argument home.html. 
  217. # NEW IN VERSION 1.2 This option is now extended to also include hits on folders for example
  218. # /foo/bar/ appears in the log as /foo/bar/home.html  etc. 
  219. #
  220. map_default_to_file home.html
  221. #
  222. # Custom Domains.
  223. # If you want to add your own custom domains these can be specified by adding the new_domain
  224. # option followed by the partial string that need matching. It is important that the whole
  225. # option is in a single string. So for example :-
  226. #
  227. # new_domain UK_Academic.ac.uk
  228. # new_domain UK_Commercial.co.uk
  229. # new_domain Demon_UK.demon.co.uk
  230. # new_domain Manchester_Univ.man.ac.uk
  231. # new_domain Digital_Computer.dec.com
  232. # new_domain IBM_Computer.ibm.com
  233. # new_domain Apple_Computer.apple.com.
  234. #            |<-  All One String   ->|
  235. #  where .apple.com. is the string that is matched. Any 
  236. # sites ending like this will then be added to the domain called Apple_Computer.
  237. # It is also possible to map machines to aliases too. For example 
  238. # new_domain Peter_Hardman.sodium.ch.man.ac.uk
  239. # maps any hits from the machine sodium.ch.man.ac.uk to Peter_Hardman.
  240. # There is a limit of 40 custom domains, but this should be more than enough :-)
  241. #
  242. # Calculating Visits
  243. # More often than not a site will access the server and retrieve a collection of files. This 
  244. # set of files can be thought of as a single "visit" to the server. To define each "visit" we 
  245. # need to set a time between hits that we would expect to to occur in a single visit. So if you
  246. # are serving large text files that need a while to read then set your visit time to be quite
  247. # high. If on the other hand you are serving small text files or small graphics then you might
  248. # want a small visit time. The time is defined in SECONDS. Default time is 300s (ie 5 mins).
  249. #
  250. visit_time 300
  251. #
  252. # Domain Name Resolving
  253. # Version 1.1 adds the ability to resolve names using the domain name system. This gives you
  254. # the opportunity to resolve names that were not resolved by the web-server either because the 
  255. # DNS was down, too slow, or turned off. You need to do two things to get this working.
  256. # First set the resolve_names on or off. Then set the resolve_time to a value in seconds that
  257. # you wish to wait for the DNS to return. If you set the time to 0 then the application will 
  258. # wait until the DNS returns or fails to find a name. Be warned however that this could take up
  259. # to 120 seconds per item!!!!
  260. #
  261. resolve_names off
  262. resolve_time  10
  263. #
  264. # Active Links.
  265. # Do you want the files that are listed in the output to have active links that can be chosen
  266. # in the web browser? This means that someone can look at the stats file and then jump to the
  267. # most popular pages directly.
  268. # If so then turn this option on. Otherwise the files will not be accessible directly from
  269. # the stats file.
  270. active_links off
  271. # Create Tables?
  272. # If you want your output to consist of Tables rather than a simple text file then leave this
  273. # option off. Otherwise turn it on to get stunning tables :-) Of course you need a browser 
  274. # capable of displaying tables for example Netscape Navigator or Microsoft's Internet Explorer.
  275. #
  276. create_tables off
  277. #
  278. # NEW IN VERSION 1.2
  279. # If you want an audible alert that the processing has finished turn on the following option
  280. # otherwise set it to off.
  281. #
  282. completion_sound on
  283. #
  284. # NEW IN VERSION 1.2
  285. # If you want to truncate the file names for cgi-hits then turn this option on. It will
  286. # stop the name before the ?. This option will filter any such things include image map hits.
  287. # In fact anything with a ? in it :-)
  288. #
  289. filter_cgi_hits on
  290. #
  291. # NEW IN VERSION 1.2
  292. # Do you want to include a custom header or footer automatically to your outputed log file?
  293. # For example you could add your company logo at the top and add a button bar at the bottom
  294. # of the file. To do this make files called 'WWWStat4Mac Prefix' and 'WWWStat4Mac Suffix'
  295. # and put them in the preferences folder.
  296. # Then turn on the following options.
  297. #
  298. prefix_file off
  299. suffix_file off
  300. #
  301. # ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  302. # ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  303. # If there are any problems with this file or you find something that is not explained 
  304. # fully then please drop me a line.
  305. # Peter Hardman   email redpoint@kagi.com
  306. # ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  307. # ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  308.